home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / samba-common.postrm < prev    next >
Text File  |  2009-10-29  |  481b  |  20 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = purge ]; then
  4.     rm -rf /etc/samba/ /var/cache/samba/ /var/lib/samba/ /var/run/samba/
  5.     if [ -x "`which ucf 2>/dev/null`" ]; then
  6.         ucf --purge /etc/samba/smb.conf
  7.     fi
  8.     if [ -x "`which ucfr 2>/dev/null`" ]; then
  9.         ucfr --purge samba-common /etc/samba/smb.conf
  10.     fi
  11. fi
  12.  
  13. # Automatically added by dh_installdebconf
  14. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  15.     . /usr/share/debconf/confmodule
  16.     db_purge
  17. fi
  18. # End automatically added section
  19.  
  20.